/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package persistencia;

import java.io.Serializable;
import java.util.List;

/**
 *
 * @author Felipe
 */

public interface GenericDAO<T, ID extends Serializable> {  
    T findById(ID id);  
    List<T> listAll();  
    T save(T entity);  
    void delete(T entity);  
}  
